package br.com.intelsys.basics.dao;

public interface Trans {
	public void saveOrUpdate(Object entity);

	public void saveOrUpdateAndAfterRefresh(Object entity, Object... refreshObject);

	public void delete(Object entity);

	public void deleteAfterRefresh(Object entity, Object... refreshObject);

	public void commit();

	public void rollback();

	public Trans beginTransaction();

	public void refresh(Object entity);

	public void refreshList(Object... entitys);
}
